package com.wanmait.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 物业费单价表
 */
@Data
@Accessors(chain = true)
@TableName(value = "property_fee")
public class PropertyFee {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房屋id
     */
    @TableField(value = "room_id")
    private Integer roomId;

    /**
     * 房间物业费
     */
    @TableField(value = "fee")
    private BigDecimal fee;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 缴费人id
     */
    @TableField(value = "payer_id")
    private Integer payerId;

    /**
     * 缴费人电话号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 缴费方式
     */
    @TableField(value = "pay_method")
    private String payMethod;

    /**
     * 发票号
     */
    @TableField(value = "incoice_num")
    private String incoiceNum;

    /**
     * 发票图片
     */
    @TableField(value = "incoice_pic")
    private String incoicePic;

    /**
     * 缴费时间
     */
    @TableField(value = "pay_time")
    private Date payTime;

    /**
     * 是否缴费0未缴，1已缴
     */
    @TableField(value = "`status`")
    private Boolean status;

    /**
     * 创建用户id
     */
    @TableField(value = "creat_by")
    private Integer creatBy;

    /**
     * 创建时间
     */
    @TableField(value = "creat_time")
    private Date creatTime;

    /**
     * 更新用户id
     */
    @TableField(value = "update_by")
    private Integer updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 逻辑删除
     */
    @TableField(value = "`enable`")
    private Boolean enable;
}